home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
14642
/
14642.xpi
/
chrome
/
content
/
history.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-10-14
|
17KB
|
338 lines
<?xml version="1.0"?>
<!-- Copyright 2009, Boomtango.com, All Rights Reserved -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css" ?>
<?xml-stylesheet href="chrome://boomtango/skin/bt.css" type="text/css" ?>
<!DOCTYPE page SYSTEM "chrome://boomtango/locale/bt.dtd">
<window id="boomtangoHistory"
title="&boomtango.title;"
onload="bthistory.onLoad();"
onunload="bthistory.onUnload();"
style="background-color: white !important;"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox id="container">
<hbox id="header_container" >
<vbox>
<image id="logo" src="chrome://boomtango/skin/boomtangoandicon2.png" flex="0"
onclick="bthistory.goHome();"/>
<spacer />
</vbox>
<spacer flex="3" />
<vbox>
<hbox>
<vbox id="querycontainer">
<html:input type="text" id="query" value="" tabindex="1"/>
</vbox>
<label id="search" value="&history.search;" onclick="bthistory.doSearch();"/>
</hbox>
<hbox>
<label value="&history.searchexamples;" id="searchexamples"/>
</hbox>
</vbox>
<spacer flex="7" />
<vbox>
<hbox>
<label value="&view.settings;"
class="text-link toplink"
onclick="bthistory.doSettings();"/>
<label value="-" class="toplink"/>
<label value="&view.hotkeys;"
class="text-link toplink"
onclick="bthistory.doHotkeys();"/>
<label value="-" class="toplink"/>
<label value="&view.help;"
class="text-link toplink"
href="http://www.boomtango.com/help.shtml"
/>
<label value="-" class="toplink"/>
<label value="&view.about;"
class="text-link toplink"
style="padding-right: 16px;"
href="http://www.boomtango.com/about.shtml"
/>
</hbox>
<spacer flex="10" />
</vbox>
</hbox>
<hbox id="nav_header">
<vbox>
<hbox id="view_control">
<spacer class="nav_spacer" />
<box id="category" class="colorbutton"
onclick="bthistory.loadView('category', bthistory.currDur);">
<vbox> <image src="chrome://boomtango/skin/category.png" />
<spacer flex="1"/>
</vbox>
<label value="&view.category;" />
</box>
<spacer class="nav_spacer" />
<box id="calendar" class="colorbutton"
onclick="bthistory.loadView('calendar', bthistory.currDur);">
<vbox>
<image src="chrome://boomtango/skin/calendar.png" />
<spacer flex="1"/>
</vbox>
<label value="&view.calendar;" />
</box>
<spacer class="nav_spacer" />
<box id="thumbnail" class="colorbutton"
onclick="bthistory.doThumbnail();">
<vbox>
<image src="chrome://boomtango/skin/thumb.png" />
<spacer flex="1"/>
</vbox>
<label value="&view.thumbnail;" />
</box>
<spacer class="nav_spacer" />
<box id="piechart" class="colorbutton"
onclick="bthistory.loadView('piechart', bthistory.currDur);">
<vbox>
<image src="chrome://boomtango/skin/chart_pie.png" />
<spacer flex="1"/>
</vbox>
<label value="&view.piechart;" />
</box>
<spacer class="nav_spacer" />
<box id="results" class="colorbutton"
onclick="bthistory.doSearch();">
<vbox>
<image src="chrome://boomtango/skin/results.png" />
<spacer flex="1"/>
</vbox>
<label value="&view.results;" />
</box>
</hbox>
</vbox>
<spacer flex="1"/>
<vbox>
<hbox id="duration_control" flex="0">
<vbox id="prev"
onclick="bthistory.goPrevious();">
<spacer flex="1"/>
<image flex="0"
src="chrome://boomtango/skin/arrow_left.png"/>
<spacer flex="1"/>
</vbox>
<label value="&date.hour;" id="hour"
onclick="bthistory.changeRange('hour');"/>
<vbox class="durcheck" id="hour.check">
<spacer flex="1"/>
<image src="chrome://boomtango/skin/accept.png" />
<spacer flex="1"/>
</vbox>
<label value="&date.day;" id="day"
onclick="bthistory.changeRange('day');"/>
<vbox class="durcheck" id="day.check">
<spacer flex="1"/>
<image src="chrome://boomtango/skin/accept.png"/>
<spacer flex="1"/>
</vbox>
<label value="&date.week;" id="week"
onclick="bthistory.changeRange('week');"/>
<vbox class="durcheck" id="week.check">
<spacer flex="1"/>
<image src="chrome://boomtango/skin/accept.png"/>
<spacer flex="1"/>
</vbox>
<label value="&date.month;" id="month"
onclick="bthistory.changeRange('month');"/>
<vbox class="durcheck" id="month.check">
<spacer flex="1"/>
<image src="chrome://boomtango/skin/accept.png"/>
<spacer flex="1"/>
</vbox>
<vbox>
<spacer flex="1"/>
<image src="chrome://boomtango/skin/arrow_right.png"
id="next"
onclick="bthistory.goNext();"/>
<spacer flex="1"/>
</vbox>
</hbox>
</vbox>
<vbox>
<hbox id="godate_control">
<box id="gotoday" class="colorbuttonround"
onclick="bthistory.goToday();" >
<vbox>
<image src="chrome://boomtango/skin/timeline.png" />
<spacer flex="1"/>
</vbox>
<label value="&date.gotoday;" />
</box>
<panel id="calpanel">
<datepicker type="grid" id="calnav" onchange="bthistory.onNavChanged();"/>
</panel>
<box id="gotodate" class="colorbuttonround" popup="calpanel">
<vbox>
<image src="chrome://boomtango/skin/timeline.png" />
<spacer flex="1"/>
</vbox>
<label value="&date.gotodate;" />
</box>
</hbox>
</vbox>
</hbox>
<hbox>
<spacer flex="1"/>
<vbox>
<label id="datetimetitle" value="&date.today;" />
</vbox>
<spacer flex="1"/>
</hbox>
<hbox id="body_container">
<vbox flex="1">
<hbox flex="1" id="body_header" hidden="true" />
<scrollbox id="body" flex="1">
</scrollbox>
<spacer flex="1000" />
</vbox>
<vbox id="rightpanel">
<vbox id="donate">
<label value="&history.latestnews;" />
<vbox>
<html:iframe src="http://ext.boomtango.com/news.shtml" style="border: none;"/>
</vbox>
<hbox>
<spacer flex="1" />
<html:form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<html:input type="hidden" name="cmd" value="_s-xclick" />
<html:input type="hidden" name="hosted_button_id" value="8172877" />
<html:input type="image" src="chrome://boomtango/skin/donate.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
</html:form>
<spacer flex="1" />
</hbox>
</vbox>
<deck id="btfilter_deck" selectedIndex="0">
<vbox id="btfilter">
<label id="btfilter_title" value="&filter.title;" />
<vbox id="filter_box">
<label value="&search.filter;" />
<html:input type="text" id="filter_text" value=""/>
</vbox>
<vbox id="searchdate_box">
<label value="&search.datefilter;" />
<grid>
<columns>
<column />
<column />
</columns>
<rows>
<row>
<checkbox id="searchfromcb" label="&search.datestart;"/>
<datepicker type="popup" id="searchfrom" onchange="document.getElementById('searchfromcb').checked = true;"/>
</row>
<row>
<checkbox id="searchtocb" label="&search.dateend;"/>
<datepicker type="popup" id="searchto" onchange="document.getElementById('searchtocb').checked = true;"/>
</row>
</rows>
</grid>
</vbox>
<separator class="groove-thin"/>
<radiogroup id="filtertype">
<radio id="filter_none" label="&filter.none;" selected="true" />
<label id="filter_sep" value="&filter.sep;" />
<radio id="filter_some" label="&filter.some;" />
<vbox id="typebox">
</vbox>
</radiogroup>
<button label="&search.update;" onclick="bthistory.updateFromFilter();" />
</vbox>
<vbox id="bubble">
<label id="bubble_boxtitle" value="&bubble.title;" />
<hbox id="bubble_title">
<label id="bubble_title_label" flex="1" crop="end"/>
</hbox>
<hbox>
<spacer flex="1" />
<vbox id="bubble_preview" />
<spacer flex="1" />
</hbox>
<hbox>
<spacer flex="1" />
<radiogroup id="bubble_previewcontrols"
oncommand="bthistory.changePreview();"/>
<spacer flex="1" />
</hbox>
<hbox flex="1">
<grid flex="1">
<columns>
<column />
<column flex="1" />
</columns>
<rows>
<row>
<label class="bubble_label" value="&bubble.url;"/>
<label class="text-link" id="bubble_url" flex="1" crop="end"/>
</row>
<row>
<label class="bubble_label" value="&bubble.visited;"/>
<label class="text-link" id="bubble_start" flex="1" crop="end"
onclick="bthistory.doBubbleStart();"
/>
</row>
<row>
<label class="bubble_label" value="&bubble.timespent;"/>
<label class="bubble_data" id="bubble_spent" flex="1" crop="end"/>
</row>
<row>
<spacer />
<hbox>
<label class="text-link"
value="&bubble.previous;"
onclick="bthistory.doVisits('bubble_previous');"
id="bubble_previous" flex="1" crop="end"/>
</hbox>
</row>
<row>
<spacer />
<hbox>
<label class="text-link"
value="&bubble.remove;"
onclick="bthistory.doRemove('bubble_remove');"
id="bubble_remove" />
</hbox>
</row>
</rows>
</grid>
</hbox>
<hbox>
<spacer flex="1" />
<label id="bubble_back" value="&bubble.back;"
onclick="bthistory.hideBubblePreview();" />
<spacer flex="1" />
</hbox>
</vbox>
<vbox id="messagebox">
<label id="messagebox_boxtitle" value="&messagebox.title;" />
<hbox id="messagebox_title">
<label id="messagebox.title" flex="1" crop="end"/>
</hbox>
<spacer flex="1" />
<label id="messagebox_message"/>
<spacer flex="1" />
<hbox>
<spacer flex="1" />
<label id="messagebox_back" value="&bubble.back;" class="text-link"
onclick="document.getElementById('btfilter_deck').selectedIndex = 0;" />
<spacer flex="1" />
</hbox>
</vbox>
</deck>
<spacer flex="1" />
</vbox>
</hbox>
</vbox>
<script src="history.js" />
<script src="historyCategory.js" />
<script src="historyTimeline.js" />
<script src="historyCalendar.js" />
<script src="historyPiechart.js" />
<script src="historyResults.js" />
<script src="historyThumbnail.js" />
</window>